package com.test.designmode.strategy;

/**
 * 所有策略都要实现同一个策略接口
 */
public class OperationAdd implements Strategy{
    @Override
    public int doOperation(int num1, int num2) {
        return num1 + num2;
    }
}
